using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace TCS.Web.Weibo.WeiBo_UserRecord
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int Id=(Convert.ToInt32(strid));
					ShowInfo(Id);
				}
			}
		}
		
	private void ShowInfo(int Id)
	{
		TCS.BLL.Weibo.WeiBo_UserRecord bll=new TCS.BLL.Weibo.WeiBo_UserRecord();
		TCS.Model.Weibo.WeiBo_UserRecord model=bll.GetModel(Id);
		this.lblId.Text=model.Id.ToString();
		this.lblWB_ID.Text=model.WB_ID.ToString();
		this.lblfriends.Text=model.friends.ToString();
		this.lblfollowers.Text=model.followers.ToString();
		this.lblWeibos_Original.Text=model.Weibos_Original.ToString();
		this.lblWeibos_Forward.Text=model.Weibos_Forward.ToString();
		this.lblMentions.Text=model.Mentions.ToString();
		this.lblComments_Original.Text=model.Comments_Original.ToString();
		this.lblForward_Original.Text=model.Forward_Original.ToString();
		this.lblForward_ToForward.Text=model.Forward_ToForward.ToString();

	}


    }
}
